<?php
/**
 * Model de Detalle de Documentos.
 *
 *
 * @filesource          
 * @copyright		
 * @link		http://www.pragmatia.com Pragmatia
 * @package		datagro
 * @subpackage	app.models
 * @version     1.1
 * @license		http://www.opensource.org/licenses/mit-license.php The MIT License
 * @author      Martin Radosta <mradosta@pragmatia.com>
 */


/**
 * Clase DocumentoDetalle
 *
 * @package	    datagro
 * @subpackage	app.models
 */
class DocumentosDetalle extends AppModel 
{ 
    var $name = 'DocumentosDetalle'; 
	var $unique = array("documento_id", "id");

	var $belongsTo = array(	'Documento' =>
                        array('className'    => 'Documento',
                              'conditions'   => '',
                              'order'        => '',
                              'dependent'    =>  true,
                              'foreignKey'   => 'documento_id'));   

} 
?>